using System;
using System.Collections.Generic;
using System.Text;
using Atom.Core;

namespace MTVMusicPlugin
{
  public class MTVArtistResponse
  {
    private List<ArtistEntry> items;

    public List<ArtistEntry> Items
    {
      get
      {
        items.Clear();
        foreach (AtomEntry en in Feed.Entries)
        {
          items.Add(new ArtistEntry(en));
        }
        return items;
      }
    }

    private AtomFeed feed;
    public AtomFeed Feed
    {
      get { return feed; }
      set { feed = value; }
    }

    public MTVArtistResponse()
    {
      items = new List<ArtistEntry>();
    }
  }
}
